package net.zretc.dao;

import java.util.List;

import net.zretc.entitys.Pet;
import net.zretc.entitys.PetType;

public interface PetDAO {
	public int insert(Pet pet);
	public int insert1(Pet pet);
	public List<Pet> findAll();
	public int delete(int id);
	public List<Pet> findByName(String name);
	public Pet findById(int id);
	public int update(Pet pet);
	public int Count();
	public int CountByname(String name);
	public List<PetType> petAllType();
	public int petCount();
	public List<Pet> findByPage(int start, int pageSize);
}
